package com.et.sale.ticket.service;

import java.util.List;

import com.et.sale.ticket.entity.TicketEntity;

public interface TicketService {
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
	int addSave(TicketEntity entity);
	
	int updateSave(TicketEntity entity);
	
	int delete(int id );
	
	
	/**
	 * 列表
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	List<TicketEntity> list(int currentPage, int pageSize);
	
	TicketEntity findById(int id);

}
